export default {
    signin(state, v) {
        state.userinfo = {
            username: v.username,
            tel: v.tel,
            email: v.email
        }
    },
    signout(state) {
        state.userinfo = {};
    },
    setSignStatus(state, v) {
        state.isShowSign = v;
    },
    setMessageId(state, v) {
        if (state.messageId === v) {
            state.messageId = "";
        } else {
            state.messageId = v;
        }
    }
}
